<template>
  <div><text>Toast</text></div>
</template>

<script>
  const modal = weex.requireModule('modal')
  modal.toast({
    message: 'I am a toast.',
    duration: 3
  })
</script>
